//
//  WSManager+Bookings.h
//  mUBB
//
//  Created by Cosmin Stirbu on 2/20/13.
//  Copyright (c) 2013 Cosmin Stirbu. All rights reserved.
//

#import "WSManager.h"
#import "Course.h"
#import "Room.h"
#import "BookingsProtocol.h"
#import "Booking.h"

@interface WSManager (Bookings)

// Retrieve Course Bookings
- (Ticket *)getBookingsForCourse:(Course *)course delegate:(id<BookingsProtocol>)delegate;

// Retrieve Bookings of a Room for a given date
- (Ticket *)getBookingsForRoom:(Room *)room withDate:(NSDate *)date delegate:(id<BookingsProtocol>)delegate;

// Create a booking
- (Ticket *)createBooking:(Booking *)booking delegate:(id<BookingsProtocol>)delegate;

// Update a booking
- (Ticket *)updateBooking:(Booking *)booking delegate:(id<BookingsProtocol>)delegate;

// Delete booking
- (Ticket *)deleteBooking:(Booking *)booking delegate:(id<BookingsProtocol>)delegate;

@end
